Optimal. Leaf size=139 \[ \frac{35 b^2 \sqrt{a x+b \sqrt{x}}}{4 a^4}-\frac{35 b^3 \tanh ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{a x+b \sqrt{x}}}\right )}{4 a^{9/2}}-\frac{35 b \sqrt{x} \sqrt{a x+b \sqrt{x}}}{6 a^3}+\frac{14 x \sqrt{a x+b \sqrt{x}}}{3 a^2}-\frac{4 x^2}{a \sqrt{a x+b \sqrt{x}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.126971, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316, Rules used = {2018, 668, 670, 640, 620, 206} \[ \frac{35 b^2 \sqrt{a x+b \sqrt{x}}}{4 a^4}-\frac{35 b^3 \tanh ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{a x+b \sqrt{x}}}\right )}{4 a^{9/2}}-\frac{35 b \sqrt{x} \sqrt{a x+b \sqrt{x}}}{6 a^3}+\frac{14 x \sqrt{a x+b \sqrt{x}}}{3 a^2}-\frac{4 x^2}{a \sqrt{a x+b \sqrt{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2018
Rule 668
Rule 670
Rule 640
Rule 620
Rule 206
Rubi steps
\begin{align*} \int \frac{x^2}{\left (b \sqrt{x}+a x\right )^{3/2}} \, dx &=2 \operatorname{Subst}\left (\int \frac{x^5}{\left (b x+a x^2\right )^{3/2}} \, dx,x,\sqrt{x}\right )\\ &=-\frac{4 x^2}{a \sqrt{b \sqrt{x}+a x}}+\frac{14 \operatorname{Subst}\left (\int \frac{x^3}{\sqrt{b x+a x^2}} \, dx,x,\sqrt{x}\right )}{a}\\ &=-\frac{4 x^2}{a \sqrt{b \sqrt{x}+a x}}+\frac{14 x \sqrt{b \sqrt{x}+a x}}{3 a^2}-\frac{(35 b) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{b x+a x^2}} \, dx,x,\sqrt{x}\right )}{3 a^2}\\ &=-\frac{4 x^2}{a \sqrt{b \sqrt{x}+a x}}-\frac{35 b \sqrt{x} \sqrt{b \sqrt{x}+a x}}{6 a^3}+\frac{14 x \sqrt{b \sqrt{x}+a x}}{3 a^2}+\frac{\left (35 b^2\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{b x+a x^2}} \, dx,x,\sqrt{x}\right )}{4 a^3}\\ &=-\frac{4 x^2}{a \sqrt{b \sqrt{x}+a x}}+\frac{35 b^2 \sqrt{b \sqrt{x}+a x}}{4 a^4}-\frac{35 b \sqrt{x} \sqrt{b \sqrt{x}+a x}}{6 a^3}+\frac{14 x \sqrt{b \sqrt{x}+a x}}{3 a^2}-\frac{\left (35 b^3\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{b x+a x^2}} \, dx,x,\sqrt{x}\right )}{8 a^4}\\ &=-\frac{4 x^2}{a \sqrt{b \sqrt{x}+a x}}+\frac{35 b^2 \sqrt{b \sqrt{x}+a x}}{4 a^4}-\frac{35 b \sqrt{x} \sqrt{b \sqrt{x}+a x}}{6 a^3}+\frac{14 x \sqrt{b \sqrt{x}+a x}}{3 a^2}-\frac{\left (35 b^3\right ) \operatorname{Subst}\left (\int \frac{1}{1-a x^2} \, dx,x,\frac{\sqrt{x}}{\sqrt{b \sqrt{x}+a x}}\right )}{4 a^4}\\ &=-\frac{4 x^2}{a \sqrt{b \sqrt{x}+a x}}+\frac{35 b^2 \sqrt{b \sqrt{x}+a x}}{4 a^4}-\frac{35 b \sqrt{x} \sqrt{b \sqrt{x}+a x}}{6 a^3}+\frac{14 x \sqrt{b \sqrt{x}+a x}}{3 a^2}-\frac{35 b^3 \tanh ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b \sqrt{x}+a x}}\right )}{4 a^{9/2}}\\ \end{align*}
Mathematica [C] time = 0.0430175, size = 64, normalized size = 0.46 \[ \frac{4 x^{5/2} \sqrt{\frac{a \sqrt{x}}{b}+1} \, _2F_1\left (\frac{3}{2},\frac{9}{2};\frac{11}{2};-\frac{a \sqrt{x}}{b}\right )}{9 b \sqrt{a x+b \sqrt{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.01, size = 503, normalized size = 3.6 \begin{align*}{\frac{1}{24}\sqrt{b\sqrt{x}+ax} \left ( 16\,x \left ( b\sqrt{x}+ax \right ) ^{3/2}{a}^{9/2}-60\,\sqrt{b\sqrt{x}+ax}{a}^{9/2}{x}^{3/2}b+32\,\sqrt{x}{a}^{7/2} \left ( b\sqrt{x}+ax \right ) ^{3/2}b-150\,\sqrt{b\sqrt{x}+ax}{a}^{7/2}x{b}^{2}+240\,{a}^{7/2}x\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }{b}^{2}-120\,{a}^{3}\ln \left ( 1/2\,{\frac{2\,\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }\sqrt{a}+2\,a\sqrt{x}+b}{\sqrt{a}}} \right ) x{b}^{3}+16\,{a}^{5/2} \left ( b\sqrt{x}+ax \right ) ^{3/2}{b}^{2}-120\,\sqrt{x}{a}^{5/2}\sqrt{b\sqrt{x}+ax}{b}^{3}+480\,{a}^{5/2}\sqrt{x}\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }{b}^{3}-96\,{a}^{5/2} \left ( \sqrt{x} \left ( b+a\sqrt{x} \right ) \right ) ^{3/2}{b}^{2}-240\,{a}^{2}\ln \left ( 1/2\,{\frac{2\,\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }\sqrt{a}+2\,a\sqrt{x}+b}{\sqrt{a}}} \right ) \sqrt{x}{b}^{4}+15\,\ln \left ( 1/2\,{\frac{2\,a\sqrt{x}+2\,\sqrt{b\sqrt{x}+ax}\sqrt{a}+b}{\sqrt{a}}} \right ) x{a}^{3}{b}^{3}-30\,{a}^{3/2}\sqrt{b\sqrt{x}+ax}{b}^{4}+240\,\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }{a}^{3/2}{b}^{4}-120\,\ln \left ( 1/2\,{\frac{2\,\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }\sqrt{a}+2\,a\sqrt{x}+b}{\sqrt{a}}} \right ) a{b}^{5}+30\,\ln \left ( 1/2\,{\frac{2\,a\sqrt{x}+2\,\sqrt{b\sqrt{x}+ax}\sqrt{a}+b}{\sqrt{a}}} \right ) \sqrt{x}{a}^{2}{b}^{4}+15\,\ln \left ( 1/2\,{\frac{2\,a\sqrt{x}+2\,\sqrt{b\sqrt{x}+ax}\sqrt{a}+b}{\sqrt{a}}} \right ) a{b}^{5} \right ){a}^{-{\frac{11}{2}}}{\frac{1}{\sqrt{\sqrt{x} \left ( b+a\sqrt{x} \right ) }}} \left ( b+a\sqrt{x} \right ) ^{-2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (a x + b \sqrt{x}\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\left (a x + b \sqrt{x}\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]